/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.mer.entity;

import org.hibernate.validator.constraints.Length;

import com.kaaction.common.persistence.DataEntity;

/**
 * 小报告Entity
 * @author huanghaiming
 * @version 2017-05-25
 */
public class SmallReport extends DataEntity<SmallReport> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 用户名
	private String mobile;		// 手机号
	private String content;		// 内容
	
	public SmallReport() {
		super();
	}

	public SmallReport(String id){
		super(id);
	}

	@Length(min=0, max=64, message="用户名长度必须介于 0 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="手机号长度必须介于 0 和 64 之间")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Length(min=0, max=500, message="内容长度必须介于 0 和 500 之间")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}